package com.example.leetdemo.process;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Solution18 {

    public List<List<Integer>> fourSum(int[] nums, int target) {
        List<List<Integer>> list = new ArrayList<>();
        Arrays.sort(nums);

        int l = 0, r = nums.length - 1;
        while (r - l >= 3) {
            if (target - nums[r] - nums[l] > 0) {

            }
        }
        return list;
    }

}
